package com.shunde.xunjian.mapper.ruoyi;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shunde.xunjian.entity.ruoyi.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface RuoyiMapper extends BaseMapper<SysUser> {


    @Select("SELECT * FROM sys_user WHERE user_name = #{username} AND del_flag = 0")
    SysUser selectUserByName(@Param("username") String username);
}
